package com.fuhan.common.exception;

/**
 * @Author: Chao
 * @description:
 * @Date: 2021/1/26 20:41
 */
public class TokenTimeOutException extends RuntimeException{
    private String token;

    public TokenTimeOutException(String token) {
        this("token过期，请重新登录", token);
    }

    public TokenTimeOutException(String message, String token) {
        super(message);
        this.token = token;
    }

    public String getToken() {
        return token;
    }
}
